<?php /* Smarty version Smarty-3.1.14, created on 2014-12-11 15:15:47
         compiled from "..\templates\products\list_product.tpl" */ ?>
<?php /*%%SmartyHeaderCode:128895489520d9bbe73-34995603%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '49a2dd00c83e7585cbf04c671852c1736ef1dcae' => 
    array (
      0 => '..\\templates\\products\\list_product.tpl',
      1 => 1418285745,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '128895489520d9bbe73-34995603',
  'function' => 
  array (
  ),
  'version' => 'Smarty-3.1.14',
  'unifunc' => 'content_5489520db692b3_20627977',
  'variables' => 
  array (
    'list_product_detail' => 0,
    'product' => 0,
    'pagination' => 0,
  ),
  'has_nocache_code' => false,
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_5489520db692b3_20627977')) {function content_5489520db692b3_20627977($_smarty_tpl) {?><?php if (!is_callable('smarty_modifier_date_format')) include 'C:\\wamp\\www\\shop_baby\\libraries\\smarty\\plugins\\modifier.date_format.php';
?><div id="column-left"> <?php echo $_smarty_tpl->getSubTemplate ("blocks/list_column_left.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>
 </div>
  <div id="content">
    <div class="breadcrumb"> &nbsp;<a href="index.html">Home&nbsp;</a> » &nbsp;<a href="#">Thể loai</a> </div>
    <h1><span class="h1-top"><?php echo $_smarty_tpl->tpl_vars['list_product_detail']->value[0]['name'];?>
</span></h1>
    <div class="product-filter">
    </div>
    <div class="product-compare"><a href="#" id="compare-total">So sánh sản phẩm <?php if (isset($_SESSION['product_comparison'])){?>(<?php echo count($_SESSION['product_comparison']);?>
)<?php }else{ ?> (0)<?php }?></a></div>
    <div class="product-list">
      
      
      
      
      <?php  $_smarty_tpl->tpl_vars['product'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['product']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['list_product_detail']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['product']->key => $_smarty_tpl->tpl_vars['product']->value){
$_smarty_tpl->tpl_vars['product']->_loop = true;
?>
      <div class="box-product"><?php if ($_smarty_tpl->tpl_vars['product']->value['price_old']!=0){?><span class="new">Sale</span><?php }?> <a class="image" href="<?php echo $_smarty_tpl->tpl_vars['product']->value['alias'];?>
.html" title="<?php echo $_smarty_tpl->tpl_vars['product']->value['title'];?>
"> <img src="/upload/product/<?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['product']->value['day_time'],'%m-%Y');?>
/<?php echo $_smarty_tpl->tpl_vars['product']->value['image'];?>
" alt="<?php echo $_smarty_tpl->tpl_vars['product']->value['alias'];?>
" /></a>
        <div class="list_grid_right">
          <h3 class="name"><a href="<?php echo $_smarty_tpl->tpl_vars['product']->value['alias'];?>
.html" title="<?php echo $_smarty_tpl->tpl_vars['product']->value['title'];?>
"><?php echo $_smarty_tpl->tpl_vars['product']->value['name'];?>
</a></h3>
          <p class="wrap_price"> 
          <?php if ($_smarty_tpl->tpl_vars['product']->value['price_old']!=0){?>
              <span class="price-old"><?php echo number_format($_smarty_tpl->tpl_vars['product']->value['price_old']);?>
&nbsp;VNĐ</span>
          <?php }?>
              <span class="price-new">Giá: <?php echo number_format($_smarty_tpl->tpl_vars['product']->value['price_new']);?>
VNĐ</span> 
          <?php if ($_smarty_tpl->tpl_vars['product']->value['price_old']!=0){?>
              <span class="price-tax"><?php if (($_smarty_tpl->tpl_vars['product']->value['price_old']<$_smarty_tpl->tpl_vars['product']->value['price_new'])){?>Tăng lên :<?php echo number_format($_smarty_tpl->tpl_vars['product']->value['price_new']-$_smarty_tpl->tpl_vars['product']->value['price_old']);?>
&nbsp;VNĐ <?php }else{ ?>Giảm được:  <?php echo number_format($_smarty_tpl->tpl_vars['product']->value['price_old']-$_smarty_tpl->tpl_vars['product']->value['price_new']);?>
 &nbsp;VNĐ<?php }?></span>
          <?php }?>
           </p>
          <p class="description"><?php echo $_smarty_tpl->tpl_vars['product']->value['info'];?>
</p>
          <p class="links_add"><a href="/san-pham-yeu-thich/<?php echo $_smarty_tpl->tpl_vars['product']->value['alias'];?>
/">Thêm danh sách ưa thích</a> <a href="/so-sanh-san-pham/<?php echo $_smarty_tpl->tpl_vars['product']->value['alias'];?>
">Thêm vào so sánh</a> </p>
        </div>
      </div>
      <?php } ?>
    </div>
    <div class="pagination">
      <div class="results"><?php echo $_smarty_tpl->tpl_vars['pagination']->value;?>
</div>
    </div>
  </div>









<?php }} ?>